<template>
	<view class="content">
		<Navbar></Navbar>
		<view class="container">
			<view class="text-area">
				<text class="title" @click="clickHandler">{{$t('index.hello')}}</text>
			</view>
		</view>
	</view>
</template>

<script>
	// import {
	// 	postMenu
	// } from '../../config/api'
	export default {
		data() {
			return {
				title: 'Hello'
			}
		},
		onLoad() {

		},
		methods: {
			clickHandler() {
				this.$store.commit('changeLanguage')
				// postMenu()
			}
		},
		mounted() {
			// this.$store.commit('changeLanguage')
		}
	}
</script>

<style>


	.logo {
		height: 200rpx;
		width: 200rpx;
		margin-top: 200rpx;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 50rpx;
	}

	.text-area {
		display: flex;
		justify-content: center;
	}

	.title {
		color: #8f8f94;
	}
</style>